cmake_minimum_required(VERSION 3.19)
project(ipc)

#如果您只是直接执行add_executable()命令，则会将/SUBSYSTEM:CONSOLE /ENTRY:"mainCRTStartup"传递给链接器。
add_executable(ipc WIN32 ${SOURCE_FILES} ../ipc/src/MyDialog.h ../ipc/src/MyDialog.cpp ../ipc/src/MyApp.cpp ../ipc/src/MyApp.h)

target_link_libraries( ipc
        repLib.lib
        )


target_include_directories(ipc PUBLIC
        "../repLib/src"
        )

